package com.mybatis.study.test.service;

import com.mybatis.study.test.mapper.UserInfoMapper;
import com.mybatis.study.test.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * program: MybatisStudy
 * <p>
 * description: 业务逻辑层
 * <p>
 * author: xiaoxie
 * <p>
 * create: 2024-07-21 22:30
 **/
@Service
public class UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public List<UserInfo> selectAll() {
        return userInfoMapper.selectAll();
    }
}
